package com.zhuiyi.yiqingbackend.domain.response;

import com.zhuiyi.yiqingbackend.domain.Base;
import com.zhuiyi.yiqingbackend.domain.Car;
import com.zhuiyi.yiqingbackend.domain.Cure;
import com.zhuiyi.yiqingbackend.domain.Patient;
import lombok.Data;

import java.io.Serializable;

@Data
public class PatientResponse implements Serializable {
    private static final long serialVersionUID = 1L;
    private Patient patient;
    private Car car;
    private Base base;
    private Cure cure;

    public PatientResponse(Patient patient, Car car, Base base,Cure cure) {
        this.car= car;
        this.base= base;
        this.patient= patient;
        this.cure=cure;
    }
}
